package com.hlf.modules.api.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * 验证码实体类
 * 
 * 
 *
 */
public class Checkcode implements Serializable {
    /**
     *
     */
    private static final long serialVersionUID = 1L;
    /**
     * id
     */
    private Long codId;

    /**
     * 类型，0=注册，1=密码找回
     */
    private Integer codType;

    /**
     * 手机号
     */
    private String codMobile;

    /**
     * 校验码
     */
    private String codCode;

    /**
     * 发送时间
     */
    private Date codSendTime;

    /**
     * 验证时间
     */
    private Date codCheckTime;

    /**
     * 状态,0=未使用，1=已使用
     */
    private Integer codUsed;
    public Long getCodId() {
        return codId;
    }

    public void setCodId(Long codId) {
        this.codId = codId;
    }

    public Integer getCodType() {
        return codType;
    }

    public void setCodType(Integer codType) {
        this.codType = codType;
    }

    public String getCodMobile() {
        return codMobile;
    }

    public void setCodMobile(String codMobile) {
        this.codMobile = codMobile;
    }

    public String getCodCode() {
        return codCode;
    }

    public void setCodCode(String codCode) {
        this.codCode = codCode;
    }

    public Date getCodSendTime() {
        return codSendTime;
    }

    public void setCodSendTime(Date codSendTime) {
        this.codSendTime = codSendTime;
    }

    public Date getCodCheckTime() {
        return codCheckTime;
    }

    public void setCodCheckTime(Date codCheckTime) {
        this.codCheckTime = codCheckTime;
    }

    public Integer getCodUsed() {
        return codUsed;
    }

    public void setCodUsed(Integer codUsed) {
        this.codUsed = codUsed;
    }

    @Override
    public String toString() {
        return "Checkcode{" +
                "codId=" + codId +
                ", codType=" + codType +
                ", codMobile='" + codMobile + '\'' +
                ", codCode='" + codCode + '\'' +
                ", codSendTime=" + codSendTime +
                ", codCheckTime=" + codCheckTime +
                ", codUsed=" + codUsed +
                '}';
    }
}